visitor: fix queueing thanks to @mraleph