Fix StringIndexOutOfBounds #12
Version 2.2.4