hexmode fixes