fix persentage bug