nmbryant Fixes database problem