null check missing on queue receive