refactore linting