Cannot detach pointer after addCluseInt

Because realloc() might have happened. Detach offset instead
Merge branch 'bug2'