fix location of register work