         delegate?.model(command: command, data: response)
         print(response)
         
-        if command == .fetchAssetPaths
+        if command == .fetchAssetIndex
         {
             ready = true
         }

        fetchVersion()
        query(type: "app_status")
        query(type: "date_time")
        fetchAssetPaths()
    }
    
    private var _taskQueue:[[String:Any]] = []

        _session.send(data: params)
    }
    
    func fetchAssetIndex()
    {
        let params:[String:Any] = ["token" : self.token, "msg_id" : RemoteCommand.fetchAssetIndex.rawValue]
        _session.send(data: params)
    }
    
