clean cm repo file