media path fix