initialize errorsView at the start