amended the errors