fixed some linter problems