remove opt from params