trim request param type