fixed a dictionary iteration problem
moving back to my laptop because debugging with nano over ssh is a pain