correctly display total