fix safari formatting headers bug