here (shared/profiles/stats.jade) I believe you moved some code, it's a bit different than  the original https://github.com/HabitRPG/habitrpg/blob/develop/views/shared/profiles/stats.jade