relation readonly handling