fixed embarassing DB.config race condition