fixed error in repository