clean up plugin