cleaning control code formatter