fix a bug for server/notify