add routes for hierarchy in route manager

+ fix cs
+ fix missing parenthesis in page manager