fix delete of unexists media