fix level count