fixed some linting errors