added console.log for virtual pages