typo fixed in function fetch()