             let labelTransform = CATransform3DMakeTranslation(0, fmax(-self.distanceLabelHeader, self.offsetLabelHeader - offset), 0)
             self.headerTitleLabel.layer.transform = labelTransform
             
-            let fullyVisibleoffset = self.headerImageView.bounds.size.height - self.fakeNavBar.frame.size.height + (self.tableHeader?.titleLabel.frame.origin.y)!
+            let fullyVisibleoffset = self.headerImageView.bounds.size.height - self.fakeNavBar.frame.size.height + self.tableHeader.titleLabel.frame.origin.y
             let fullyTransparentOffset = self.headerImageView.bounds.size.height - self.fakeNavBar.frame.size.height
             let alpha = fmin(1.0, (offset/fullyVisibleoffset - fullyTransparentOffset/fullyVisibleoffset) * 10.0)
             self.fakeNavBar.backgroundColor = UIColor.init(red: 0.008, green: 0.118, blue: 0.282, alpha: alpha)

                scrollView.contentOffset  = CGPoint.init(x: 0, y: -scrollView.contentInset.top)
            }
            else if (point.y < 0 && offset < distance) {
                let y = -(self.tableHeader?.titleLabel.frame.origin.y)!
                scrollView.contentOffset = CGPoint.init(x:0, y:y)
            }


    @IBOutlet weak var headerTitleLabel: UILabel!
    @IBOutlet weak var backButton: UIButton!
    
    var tableHeader: HeaderView!
    
    var offsetLabelHeader: CGFloat
    var distanceLabelHeader: CGFloat
