Fixed a bug in the form header setup.