cleaned addMedia