Fix problem with percentages