fixed cmky related bug