fix preference savepath