Changed the call to reset() to fix error in travis