removed bad db references