register bug