Replace for...in loops by old fashion for loops

All in the title 

Fix #73