Handle empty pages