fix colors for bmp palette