Add missing argument in event listener