fixed client init for inheritance (closes #13)