fix plugin purge and increment version