fixed NPE when world does not yet exist