fix webmock warning which caused the travis CI failed