corrected mssing my_media var reference