fix partition fetch bug