Fixes broken npm upgrade