bug fix:

- for loop moved to table rows and not on table