fix some linter complaints