fix plugin setup