not adding ? on empty query string