fixed the steps order