fix mediaproperties collection scope