linting error fixes