Removed db_repository.
Still messing with error.