fix scoring bug when close to 100%