fix newparam saving