Fixed a bug with lex file to handle blank spaces