Fix variable in query_params is not replaced.