fix partition id's