fix embedded object overflow issue