ai work, save/load fixed