fixed rendering of statistics boxes