Fix excel generator