Bugfix: cast numerical Params to string before trim()'ing