modify some steps codes