fix travis build errors