fixed as.complex(x) to show NAs