fix a bug which cause MOVE command invalid