Replaced fetch()['sum'] to prevent ()[] syntax.