btl/sm fix up cma
fix up pml problems