recursive belongsto fix