fixed some linter complaints