move operation with some bugs