bugfix

Fixed a 'headers already sent' error caused by HTML outside of php