fix specs and actions_controller