fixed infoboxes: same damn problem as every other time -- encapsulating a function in a for loop or variables wont update