fix zip generation