fix paint page and optimize many pages for search engine indexing