packages fix for mocha