fixed crash in step reorder