deal with missing closing boundary

@bf4 @jeremy
don't the tests explain what it is doing ?