fixed some linter warnings