level.step_mode may not be defined