fixes linting errors