fix linting errors