fix double immersive declared