correcting parsing