Fixed usage of .add -> .put for queues