fixed reference to dataset at bar styles.