make db resolving