fix queuing, update sdk