handling non-existent pages
now with page saving