cleaning up plugin logic