clean up formatting in dynamic type section