fix compile issue for pluginService