enforce lower() on main's query string