fix hex type size.