fix saving export files