bugfix for empty workbook