fixed the register bug in the register-view