fix location of register work
fix location of register work