changed footer and viewhtml