Fixed percentage bug