fix to move register