fixed number looping and arrow issue