fixed the owner query select isseue.