fix request param and path variables.