register bug removed