fixed cyclic header problem