soundplayer fix for malformed directory calls