Fixed some issues in Lex and removed debugging logs from Parse