spelling and a small mem leak if html output was disabled