warehousePrintExport and some fix