fixed plugins for new api