remove refs to mediaelement