move chunk dest ns is wrong,fixed;make some code easier to read;