make infinite looping style consistent