handle invalid records
rename