fix forEach syntax