bug fix on percetnage