fix wrong steps ordering