fixed installMethod for n++