Fixed StringIndexOutOfBoundsException exception with empty name.