fix bugs when testing the GUI - saving object and constraint mappings