fixed notice count bug