amend some files