Fixed bug in hex2bytes. Was source of wrong signature