fix plugin interface