fix fetchmany()