fix references to worldObj