made db relative