Fixed event handlers.