oops, query fix