correct color offset