fixed with a continuous loop