fixed queuelength switching logs