fixed segfault when using alsa device