Fix bug for change cm pw