statistics prints and fixups