Fix errors in str