fix fetch on select