remove unused variables from action helper