better afix and frag formatting