fix import with queues, add multiset spec