Fix issue on LocalMedia event
Fix issue on demo page