Formating of the hex string