errors in repository