more improvement for changed Object.prototype

more improvement for globally changed Object.prototype.
real_opt is the real option in the tmp_arr object, otherwiese it could be globally set prototype property.