fixed do-while parser