Removed output of header too soon.