fix the listener event