Fixed errors for TravisCI