fixed the length check...still need some tests for this :sob:

so there is this error which is very sad and wasn't found because of no tests.
Need to add tests to everything when the big redesign happens.