fixed some npm and grunt issues