throwing error if delimiter is unmatched fixes #20