-. bug fix in sample repository class