Correct error on travis build