fix issue with colors not being translated properly