Fixed bug in audio recorder