rename errors to error