try to fix bad tmp used for tests