Stats rrdb and category fix