fix the ngs plugin