fixing linting errors