fix incorrect notify usage