fixed record data error when record not found