bug fix in bars.html