fix Foreacst