fix repository_method after merge

merge 946f74bd4aa78b311c08b14f8a934ec30f20defd broken repository_method