add default headers, and dynamic build html tab