fix for empty iterations