Decimal to Hexadecimal conversion issue fixed