Catch table-header writing errors (#39)
Change immedinate -> immediate (#39)