generic param parsing correction