fixed tmp tracking