fixed bug when no steps to save