fix logic for unmounted drives