added hex formatting fixes