fix bug with email and page content display