fix profitraining caching