replaced add_actions with add_action