fix partition index byte count