fix asnyc forEach