fixed Object.forEach()