caught a bug in the parser