support setRecordPath