cleanup formatting in position