fix null notifications api