fix notify to use arrays, does not run when sending strings instead