bullet proofing: Was getting a null exception on some export operations.