编辑一篇错误拼写的文章。
这篇文章有许多拼写错误，我们希望你能够编辑它：
“An thare was a boy named Tom. He waz playing in the gardin whan he saw a bautifull buterfly. He ran aftir it, but he coldn't cach it.”
" And there was a boy named Tom. He was playing in the garden when he saw a beautiful butterfly. He ran after it, but he couldn't catch it."