fixed headers bug