fix sscanf %n match at end of input string