fixed extend and 0th item bug.