fixed some linting warnings