fix save as new bug