added plugin clean support