[code] fix header page, fix non image pages