fixsed compile for some plugins