remove some legacy styles