trying to fix the php loadPage example