small bug in persistent notification trigger