Fix fetch api with token