Fix errors in travis