Fix Travis crash