fixed detection of live onset