fixes for ipage, photo stuff