Fixed a bug in the audioPlayer