fix for export links being broken when this plugin is enabled