small fix to ratio bar chart