fix saving thing