fix comp mode