Fix checknextlevel and total score