preventing overwrite prompt exits