String::find usage bugfix