empty page handling