fixed NA values in CSV/XLS export