handle empty page elems