fixed plugin bug2