fixed editing percentage issues