bug fix object relations