added db aliasing in a couple of places that needed it.