fix self.check function in all handlers redirection bug