fix bug with CZ file