change loop num