corrected total_bar formatting