Fix another error in MediaManager