bug fixed when deleting step never executed