fixed a critical bug

fixed a critical bug that causes some notices to not open