Rei/fix relation object error