restyle macros