removes event handler for el