apply cosmetic fixes