fix a serious bug leading to a crash problem when received a notification or message without extra info.