another query fix