changed initPage