fix header photo bugs