bug: main.c did not analyze the whole string, was the error r-1.