Cut data error on too long data
Merge pull request #188 from sbrunner/data-cut

Cut data error on too long data