fixed notifications bug