fix small bugs objectrelations