Fix fetch permissions