fix for active subpages and parent activation