fix object enumerable issue