Fixed bug in autoProcessMusic