edit and typo check