fix csm