set i in header