fix the class visits and grade select