fixed save error, ref #90