isSaved bugfix