mounted partition detection fix