DataBase Connectivity (Registration), Some Bug fixes.