fixed visitor bug in mqpbo