fix issues with travis build