#4 Fixed creating and loading pages hierarchy