removed unnecessary Number in setHex