Fixes bug within stats