Cleanup error while parsing