bug in parser not reading spaces