add missing logic for controller and action call