fix bug in step0
cleanup wizard