1.fix type error 2.get_thread and get_queue installed