fix a bug of the classroom user status function