Fix bug with world variable