fix spacing on empty pages