Fixed issue for saving when unnecessary