improve Flatpages