findError method start