remove foreach

remove