Fixed mistake of calling the handler.