fix partition layout