Fixed a bug with plugin_download