fixed stop of a plugin