modify notifyClient