Fixed bug saving files,deleted opt files reappear