fix linting warnings