fix fetch errors