bugfix; primitive repetition