fix fetch bug