Fixed error in notifications