restore a style that got lost