Hi I think on line 1158/1146 the pos or the ii.position never gets updated so it never goes out of the while loop. thanks