fixing linter errors