cleanup style mode