fixed extend error