clean up and plugins