add except handling to contigSpace