moved query text