tolerate incorrect last boundary
Merge pull request #190 from egirshov/missing-hyphens

tolerate incorrect last boundary