correct setParam when create family (fixes #3973)