fixed delete record test error