Fixing errors on Travis