typo, use error and append