fix travis
fix compatibility with wrap