is this necessary after setting query to an empty string?