fixed saving of changed content problem