modify by lilong.