fix npe in worldconfig