reformat code in plugins