removing all references to missing images