fixing error handling while parsing