fix travis c  errors