fix linting errors failing the travis CI build