error out on missing uiddb
added error handler