add name to queue, fix queue_push length check bug