Fix for minidlna crashes