removing all of the code nto relative to current plugin