fixed tmp dir structure