Fixes weights loop.