fix resource loading issue running on linus server in prod mode