fix linter warnings