fixed foreign key to hasManyToSelf