Fix use of notifications