Fixed problem with worlds. Made global