fix color mode loading