Fix bug with styles.