Fix parseerror event.