fixed loading and saving workspace bugs