Fixed notifications bug