detect all errors