fixed: check the size of the amount of characters. close #5