Remove old db reference