fix plugin support