deal with missing closing boundary