action main switch changed to self.send

minor refactor