knowing that that appointment was in contravention of the act will be held liable for fruitless and