fixed "isSaved" flag