fix some turtle grammar issues, particularly with local names