bugfix for excel export.