replacing sapply with lapply in getPercentileTableNames to avoid erronious reduciton