Issue #11. Invalid last char string cut