Bugfix: define fetch and request