fix for MediaPath