change footer style
fix end file error (header already send)