multi-instances : fix a bug with compress history