Cheking for errors non-fatal bug