corrected parsing errors