* fix #1318 * fix #1318 * remove never used code * fix unit tes Co-authored-by: anqiansong <anqiansong@bytedance.com>