delete imagetypes on uninstall