hii… first of all, this is not a bug, no programming allows you to execute infinitely. here is the solution I came up with if you have any problem reply. and please do some homework before programming or scripting that saves you a lot of time.