fixed null pointer exceptions in ILCD export