fix hsl-hsv conversion