Fixed event listeners.