! fixed work with Repository