better error handling while mounting