fixed bug where stepProperties were not cleared before saving