initialize value for begin_record in recorder