         "http://file3.funshop.co.kr/abroad/012/6241/thumbnail_1.jpg"
         ]
         
-        manager.sendData("[image]\(images[Utility.random(items.count-1)])".dataUsingEncoding(NSUTF8StringEncoding), topic: "\(mqttSettings["base"]!)/\(device_id)", qos: .ExactlyOnce, retain: false)
+        manager.sendData("[image]\(images[Utility.random(images.count)])".dataUsingEncoding(NSUTF8StringEncoding), topic: "\(mqttSettings["base"]!)/\(device_id)", qos: .ExactlyOnce, retain: false)
     }
     
     // MARK - MQTTSessionManagerDelegate

        //        tableView.setContentOffset(currentOffset, animated: false)
    }
    
    // MARK - Etc Function
    func scrollToLast() {
        let last_item_index = items.count-1

    }
    
    @IBAction func pressedShortText(sender: AnyObject) {
        let htmlText: String =
            "폰트컬러 블루<font color=\"blue\">파랑</font>선택선택선택선택선택선택선택선택선택선택。<br>" +
                "폰트컬러 레드<font color=\"red\">빨강</font>선택。<br>" +
                "<hr width=\"100%\" size=\"1\" noshade>" +
                "타이드스퀘어<a href=\"http://www.tidesquare.com/\"><strong>홈페이지</strong></a><br>" +
        "CSS Style<strong style=\"color:#663399;\">#663399</strong>...。"
        
        manager.sendData("[html]\(htmlText)".dataUsingEncoding(NSUTF8StringEncoding), topic: "\(mqttSettings["base"]!)/\(device_id)", qos: .ExactlyOnce, retain: false)
    }
    
    @IBAction func pressedImageUrl(sender: AnyObject) {
