Should resolve promose after for-each loop, added missing semicolon