refine modes for ebx logs