Fix child page creation