db interface fix