typecast params to string