     func show(in clientView: NSView) {
         
         // remove previous HUD
-        for subview in clientView.subviews where subview.identifier == .HUD {
+        for subview in clientView.subviews where subview.identifier == .hud {
             subview.fadeOut(duration: self.fadeDuration / 2.0, delay: 0)  // fade quickly
         }
         

//
//  ---------------------------------------------------------------------------
//
//  © 2016-2018 1024jp
//
//  Licensed under the Apache License, Version 2.0 (the "License");
//  you may not use this file except in compliance with the License.

        
        super.viewWillAppear()
        
        self.view.identifier = .hud
        self.view.layer?.cornerRadius = self.cornerRadius
        self.view.layer?.opacity = 0.0
        
