fix mocha warning