complain if both hierarchy and hierarchies are passed