Fix typo endit -> edit