PERF: return NA for bad data