fix bar plot