bugfix: forgot to pass argument to writeHeader