fix defines
fix render stats