Basic fixes for subpages

Now they work at least