registration database bug