trying to make temp dir work