compatible with old record files

Signed-off-by: Takashiro <takashiro@qq.com>