getting rid of fetch since its throwing errors