fixed notice bug