fix get queue length  bad function 

length/1 change to queue:len/1