fixing more bugs: prev_step_status and action_data can be None