fix plugin

fix clear variable