Fix some stats2.inc compatibility