             views:views))
         
         controller.layoutLeft = NSLayoutConstraint(
-            item:current!,
+            item:controller.view,
             attribute:NSLayoutAttribute.Left,
             relatedBy:NSLayoutRelation.Equal,
             toItem:self,

            multiplier:1,
            constant:0)
        controller.layoutRight = NSLayoutConstraint(
            item:current!,
            attribute:NSLayoutAttribute.Right,
            relatedBy:NSLayoutRelation.Equal,
            toItem:self,

        insertSubview(controller.view, belowSubview:bar)
        
        let views:[String:AnyObject] = [
            "view":controller.view]
        
        let metrics:[String:AnyObject] = [:]
        
