str and coding issue