fixing npes when accessing the audio service