Fixing param_str logic