Fix possible wise plugin startup crash