fix Color encoding osX