some bugs in steps fixed