fixed some npm issues