Small fix for accessing database in production.