fixed saturation scaling bug