fixed error that occured with new lib-fetching API