copy properties from parent