fix bug in counting added saving steps