cleanup for string lexing