Fix OC db setup