Fixes repo cm errors