Fixing page.set always returnng false for setting objects