fixed bug with photo in header