fix setRelated