fix in contigSpace