compile in cm
fixup device