fix file saving bug