use conf instead of db