fix 'notify' issue by replacing it with an array element instead of a string