fixing some linting errors