add register
test fix