fixed travis build errors