minor class bug in parser