Change the name from end-record to stop-record