close gcc 4.1 warnings
usable tmp stats