fix registration dao