Fixed some bug caused by logo in the headr