return NULL for empty export arrays