try-catch msg.hide