         
     }
     
-    func updateAlbumImage(to image: UIImage) {
+    func updateAlbumImage(to image: UIImage?) {
+        guard let image = image else {
+            self.imageView.image = nil
+            self.backgroundImageView.image = nil
+            return
+        }
         let isDarkColor = image.averageColor.isDarkColor
         let blurEffect = isDarkColor ? UIBlurEffect(style: .light) : UIBlurEffect(style: .dark)
         UIView.animate(withDuration: 0.5) {

        musPickerButton.constrain(.left, .equal, to: volumeSlider, .left)
        
        icloudDocButton.constrain(.top, .equal, to: musPickerButton, .top)
        icloudDocButton.constrain(.centerX, .equal, to: volumeSlider, .centerX)
        
        trackListButton.constrain(.top, .equal, to: musPickerButton, .top)
        trackListButton.constrain(.right, .equal, to: volumeSlider, .right)

                        guard let data: Data = item.value as? Data, let image = UIImage(data: data) else { continue }
                        albumImage = image
                    default:
                        print("no-tag", item.commonKey)
                    }
                }
            }
            self.songTitleLabel.text = metadata[.title] ?? audioFileName!
            let artistName = metadata[.artist] ?? audioArtistName ?? ""
            let albumTitle = metadata[.albumTitle] ?? ""
            self.albumTitleLabel.text = artistName.isEmpty ? albumTitle : (artistName + (!albumTitle.isEmpty ? " – \(albumTitle)" : ""))
            self.updateAlbumImage(to: albumImage)
            
        case .library:
            guard let songItem = musicPlayer.nowPlayingItem else { return }
