bad parsing errors fixed