refactor spaces for ZipLib