add shim for old plugin