fix error management, fix travis ?