fixed crash with new amb priority queues