fix __lastInstance in i-bem-node