fixing stat display bug