fix call forEach unsafe