Fixing bug in system stats route declaration