dispatcher registerHandlers fixed