fix for empty directory. Fix for music