remove all onerror on newListener event