fix a bug, when parsing class identifiers