apply source formatting