correct linting errors