resource refactoring complete (fix bug in saving operation)