/controllers/: fixed a few bugs with statistics