fixing tmp directory