Fix get_actions