amend some error