incorrect action factory using in controller