fixing header json and html