bug fix each loop