Before using hsv hack