Fixes for the stat system

- Fixed syntax errors
- Fixed string inference
- Fixed bars being too long