fixed extend object bug