- do not try to parse current pointer when the line is invalid or empty (detected by valgrind) - don't read/write after the string when the synthesis is slightly malformed