Mobile query fix