Fixed crashes of BASS