fix register move