Fixed crash causes when passing invalid parameters to move command