fixed bug for closing notification