fix bug in deleteRecord, pass stress test
stress test