[Debug] simplify code path to remove potential blank pages