fix singleton access from cosmos scene