fix module warnings on npm install