fix wrong divider in calculatepercentage