fix to make npm test pass