Role of fallacies in critical thinking