register bug fixes