refactor fetching of notice status