fixed npe when world does not exists