fix showing percentage with bar