Fix save and load.