Fix use stdObject as array error.