fix sample for hierarchical user accounts