fix routing to allow for query string