Fixing problems with str