Initialized hasError value