better exception handling in mount()