Improve config load for db properties