remove from queue in next method of NavigationVisitor