fixed 0% bug