solve header image dynamic problem