fix deprecation Relation#all