Remove check if dbDatabase isset, it does not work at this point.