start of adding custom field functionality.  fixed raw hex mode for pre-pending zeros