use the same fix for MediaEngine::loadFile