Fixed a typecasting bug on some systems

strict python interp was killing o.find(<int>). typecasted to str.