Fix range of hex