Fix percentage calculation formula
Merge pull request #1908 from javiyu/fix_model_bars

Fix percentage calculation formula