too many bugs with dec to hex conversion