minor change to catch DBNULL