fix plugin compile issue