use custom version of fetch to fix encoding issues