Fix very wrong percentage computation