remove onerror event

remove onerror event