fix a error when xrange output zero for client/classrome/<department>