Fix hex errors