fix fetch type