save objects bugfix