Error in foreign ket fixed