Fixed DB access on prod