     
     override func deleteBlock(uid: UID) -> CUnsignedLongLong {
         
-        var pos = self.seekToFileID(uid)
-        
-        var header : StringStoreHeader = readHeader()
+        let pos = self.seekToFileID(uid)
+        
+        let header : StringStoreHeader = readHeader()
         
         if header.nextStringID > 0 {
             deleteBlock(header.nextStringID)

    
    override func initStore() {
        // write block 0
        let text = "v1.0 String Store (c) S. Zehrer";
        var stringData = SOStringData(string: text)
        
        //self.createBlock(stringData, withID:0)
    }

        let dataUTF8 : NSData! = string.dataUsingEncoding(NSUTF8StringEncoding)
        let dataUTF16 : NSData! = string.dataUsingEncoding(NSUTF16StringEncoding)
        
        //let test = string.cStringUsingEncoding(NSUTF8StringEncoding)
        
        if dataUTF8.length <= dataUTF16.length {
                stringData = dataUTF8
