stop from choosing previous steps from last