Fix self.total vs total issue. Remove superflous 0 in template