fix partition lock error