Fixed routes to DB