Another fix for db configuration