hopefully fix #366 delete causing change media