fix service class, add facts for travis