Resolve error on startup in non-dev environments