fixed bug when NEWLINE is read in bol state