fix new db