better handling no-step exception