Fixed sending of notifications