remove .forEach for IE8 compatibility