Fix a percentage bug