fixing notice plugin