fix require for travis