fix CM paths