fixed heading layout problems