Trap current_page variable