fixed header-looping bug