when removing chars make sure our string has the minimum length