fix broken cm files