fixing callbacks in page images controller