fixing compilation failures (repo tests)